public class SellTicketDemo {
    public static void main(String[] args) {

     //    SellTicket t = new SellTicket();
        SellTicket_safe t = new SellTicket_safe();
     //   SellTicket_lock t = new SellTicket_lock();
        Thread th1 = new Thread(t,"Window 1 ");
        Thread th2 = new Thread(t,"Window 2 ");
        Thread th3 = new Thread(t,"Window 3 ");

        th1.start();
        th2.start();
        th3.start();
    }
}
